﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;

namespace Visits.Interface
{

    public interface IGraphicsVisitView
    {
        void SetBindingSource(BindingSource bindingSource);
        void SetSelectFilter(Filter[] f);
        Filter FilterValue { get; }
        int ActiveColumn { get; }
        bool IsChange { get; set; }
        void ShowDialog(UserControl control);

        event EventHandler<EventArgs> EditRecord;
        event EventHandler<EventArgs> DeleteRecord;
        event EventHandler<EventArgs> AddRecord;
        event EventHandler<EventArgs> SaveChanges;
        event EventHandler<EventArgs> SetFilter;
    }
}
